<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Administrator
 * Date: 25/05/11
 * Time: 15:01
 * To change this template use File | Settings | File Templates.
 */


define('SMARTY', '1');


class ViewFactory
{


    public static function get_View($type)
    {
        switch ($type) {
            case SMARTY:
            default:
                require_once(Config::acquire('Smarty', VIEW));
                return new SmartyView();
        }
    }
}
